import LText from "./components/LText";
import LImage from "./components/LImage";
import LShape from "./components/LShape";
import { App } from "vue";

const components = [LText, LImage, LShape];

const install = (app: App) => {
  components.forEach((component) => {
    app.component(component.name!, component);
  });
};

export {
  textDefaultProps,
  textStylePropNames,
  TextComponentProps,
  imageDefaultProps,
  imageStylePropsNames,
  ImageComponentProps,
  shapeDefaultProps,
  shapeStylePropsNames,
  ShapeComponentProps,
  AllComponentProps,
} from "./defaultProps";
export { LText, LImage, LShape, install };

export default {
  install,
};
